// 配送区域
const {DataTypes, db } = require("../db");
db.define('psCargo', {
id: {type: DataTypes.INTEGER, primaryKey: true, autoIncrement: true,comment:'表自增ID'},
tenantId:{type: DataTypes.INTEGER,allowNull:false,comment:'租户ID'}, 
billNo:{type: DataTypes.STRING(20),comment:'票号'},
billDate:{type: DataTypes.STRING(10),comment:'票据日期'},
deliverNames:{type: DataTypes.STRING(100),comment:'送货员'},
infos:{type: DataTypes.STRING,comment:'明细'},
stat:{type: DataTypes.STRING(20),comment:'状态'},
ctime:{type: DataTypes.STRING(20),comment:'创建日期'},


}, {
    tableName: 'ps_cargo',
    timestamps: false,
    comment: '配送',
});